package cn.com.dcsgo.service.impl;

import cn.com.dcsgo.mapper.EmployeeMapper;
import cn.com.dcsgo.pojo.Employee;
import cn.com.dcsgo.service.EmployeeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * EmployeeServiceImpl
 *
 * @author Dcsgo
 * @since 2025/3/8 6:35
 */
@Service
public class EmployeeServiceImpl implements EmployeeService {
    private final EmployeeMapper employeeMapper;

    EmployeeServiceImpl(EmployeeMapper employeeMapper) {
        this.employeeMapper = employeeMapper;
    }

    @Override
    public List<Employee> queryAll() {
        return employeeMapper.queryAll();
    }
}
